package com.yolo.service.impl;

import com.yolo.entity.Errand;
import com.yolo.mapper.ErrandMapper;
import com.yolo.service.ErrandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author 霜蟾
 * @since 2021-04-26
 */
@Service
public class ErrandServiceImpl extends ServiceImpl<ErrandMapper, Errand> implements ErrandService {
    @Autowired
    private ErrandMapper errandMapper;

    @Override
    public List<Errand> queryErrandByCurrentMonth(Integer empId) {
        return errandMapper.queryErrandByCurrentMonth(empId);
    }
}
